home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9191 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1021 b 

  1. Path: mudskipper.cac.psu.edu!user
  2. From: fcusack@tdx.org (frank.)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: ** Disabling ctrl-C in C **
  5. Date: Fri, 08 Mar 1996 09:30:13 -0400
  6. Organization: Soylent Green is People!!
  7. Message-ID: <fcusack-0803960930130001@mudskipper.cac.psu.edu>
  8. References: <4hpbv3$6u@maltese.eag.unisysgsg.com>
  9. NNTP-Posting-Host: mudskipper.cac.psu.edu
  10.  
  11. In article <4hpbv3$6u@maltese.eag.unisysgsg.com>,
  12. ssadra@maltese.eag.unisysgsg.com (Daniel R. Ascheman) wrote:
  13.  
  14. > Was wondering if there was a way in C to dis-allow users to break
  15. > out of a program when at a prompt.....Tryed to use getche(), getch() and
  16. > that won't work 'cause I don't have access to conio.h -- By the way, I am
  17. > on a UNIX machine.  Everything that I have already thought of 
  18. > pertains to dos. 
  19.  
  20. You probably wanted to post this on comp.unix.programmer then.
  21.  
  22. see man signal
  23.  
  24. ~Frank
  25.  -- I am Pentium of Borg.  Division is futile.  You will be approximated. --
  26.  -- PGP ID: 1C0F6685 | NCB#56 | Visit me --> http://www.tdx.org/~fcusack/ --
  27.